package com.kanshu.ksgb.fastread.doudou.module.book.bean;

import com.kanshu.ksgb.fastread.doudou.app.test.ReaderItem;

import java.util.List;

/**
 * Created by wcy on 2017\7\3 0003.
 */

public class ChapterBean {
    public List<ReaderItem> items;
    public static final String BOOK_IS_OFFLINE = "0";
    public static final String BOOK_IS_PAYED = "1";
    public String book_id;
    public String content_id;
    public String title;
    public String words_count;
    public String order;
    public String creator;
    public String createtime;
    public String content;
    public String book_title;
    public int price;
    public int org_price;
    // 上一章节
    public LastChapterBean last_chapter;
    // 下一章节
    public NextChapterBean next_chapter;
    // 书籍信息
    public BookInfoBean book_info;
    // 版权信息
    public CpEntity cp_info;
    public int is_buy;
    public int is_user_payed; // 用户是否购买过 0 没有购买 1反之
    public int is_can_cache;// 0 不能缓存 反之

    public static class LastChapterBean {
        public String content_id;
        public String title;
        public String words_count;
        public String order;
        public int price;
    }

    public static class NextChapterBean {

        public String content_id;
        public String title;
        public String words_count;
        public String order;
        public int price;
    }

    public static class BookInfoBean {

        public String book_id;
        public String book_title;
        public String book_title_spell;
        public String author_id;
        public String author_name;
        public String is_delete;
        public String chapter_count;
        public String join_bookcase;
        public int is_online; // 0下架 1上架
        public String writing_process;//0:连载 1:完本
        public String category_id_1;//书籍分类
    }
}
